import {createEventHandler, createEventRegister, EventWeakMap} from 'yt-cesium'
import {ScreenSpaceEventType} from "cesium";

const doubleClickMap: EventWeakMap = new WeakMap();

export const onDoubleClick = /*#__PURE__*/createEventRegister(doubleClickMap)

export const handleDoubleClick = /*#__PURE__*/createEventHandler(doubleClickMap, ScreenSpaceEventType.LEFT_DOUBLE_CLICK)
